<?php

use Illuminate\Routing\Router;

Route::group([
    'prefix'        => 'admin/LocalRank',
    'namespace'     => 'Beerus\\Modules\\LocalRank\\Controllers',
    'middleware'    => [
        'web',
        'admin',
    ],
], function (Router $router) {
    // 新人专区黑名单
    $router->get('/black', 'LocalRankBlackController@index');
    $router->get('/black/create', 'LocalRankBlackController@edit');
    $router->get('/black/{id}/edit', 'LocalRankBlackController@edit');
    $router->post('/black/save', 'LocalRankBlackController@save');
    $router->delete('/black/{id}', 'LocalRankBlackController@del');
});
